package com.xiaoniu.forum.entity.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class CommunityTopicOptionVo {
    //id
    private String value;
    //名称
    private String label;

    //下标
    private Integer index;

    private List<CommunityTopicOptionVo> children = new ArrayList<>();

    public CommunityTopicOptionVo(String value, String label, Integer index) {
        this.value = value;
        this.label = label;
        this.index = index;

    }
}
